<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="text/javascript" src="4.js"></script>
</head>
<body>
    <!--onClick,点击事件-->
    <input tyoe="submit" neme="submit" value="显示hello" onclick="hello();">
    <input type="text" name="unername" id ="unername">
    <input type="text " value="点击获取文本框的值" onclick="gettext" >
</body>
</html>